<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Auto Parts</title>
<link rel="stylesheet" type="text/css" href="../../css/mokstyle.css" />
		<script type="text/javascript">
		function init(){
    		if("${mtparts}"!=""){
				document.getElementById('a1').style.textDecoration = 'underline';
				document.getElementById('odd').style.display = 'block';
    		}
    		if("${ptparts}"!=""){
				document.getElementById('a2').style.textDecoration = 'underline';
				document.getElementById('main').style.display = 'block';
    		}
		}
		</script>
</head>
<body onload="init()">

<div  id="wrap">
 	<div class="header">
       		<div class="logo"><a href="/aasimp/mok/maintenance/index_getMtInfo"><img src="../../images/logo.gif" alt="" title="" border="0" /></a></div>            
        <div id="menu">
            <ul>                                                                       
            <li><a href="/aasimp/mok/maintenance/index_getMtInfo">首页</a></li>
            <li><a href="/aasimp/mok/maintenance/info_getcompany">个人资料</a></li>
            <li><a href="/aasimp/mok/maintenance/odd_getOdd" >维修申请</a></li>
            <li><a href="/aasimp/mok/maintenance/approve_showApprove">审批维修</a></li>
            <li><a href="/aasimp/mok/maintenance/mt_showmts">维修记录</a></li>
            <li><a href="sendInfo.jsp">信息发布</a></li>
            <li class="selected"><a href="/aasimp/mok/maintenance/report_showMtReport">报表统计</a></li>
            </ul>
        </div>  
       </div> 
       
       <div class="center_content" style="background-color:#FFFFFF;">
       	<div class="left_content" style="width: 880px">
       		<div class="crumb_nav">
            <a href="/aasimp/mok/maintenance/index_getMtInfo">home</a> &gt;&gt; 报表统计
            </div>
        	
            <div class="title"><span class="title_icon"><img src="../../images/bullet1.gif" alt="" title="" /></span>
			<a id="a1" href="javascript:void(0)" onclick="window.location='/aasimp/mok/maintenance/report_showMtReport'" style="text-decoration: none">维修部位-数据挖掘</a>
			<a id="a2" href="javascript:void(0)" onclick="window.location='/aasimp/mok/maintenance/report_showPtReport'" style="text-decoration: none">配件更换-数据挖掘</a>
			</div>
        
        	<center>
        	<div class="feat_prod_box_details" id="odd" style="display: none;height: 230px;">
            <p class="details">
            </p>
                 <form name="register" action="#">          
                    <table width="100%"  border="1" align="center" cellspacing="1">
                    	<tr>
                    		<th>维修部位关系</th>
                    		<th>支持度</th>
                    		<th>加权支持度</th>
                    		<th>置信度</th>
                    		<th>加权置信度</th>
                    	</tr>
                    	<tr>
                    	<c:forEach var="mtpart" items="${mtparts}">
						  <tr>
						    <td align="center">${mtpart.describe }</td>
						    <td align="center">${fn:substring(mtpart.support,0,6) }</td>
						    <td align="center">${fn:substring(mtpart.weightSupport,0,6) }</td>
						    <td align="center">${fn:substring(mtpart.confidence,0,6) }</td>
						    <td align="center">${fn:substring(mtpart.weightConfidence,0,6) }</td>
						  </tr>
					 	 </c:forEach>
                    	</tr>
                    </table>
                    <span>A:发动机配件系列 B:制动零部件系列 C:汽车电器系列 D:汽车底盘 E:汽车车身</span>
                  </form>
            </div>	
            
        	<div class="feat_prod_box_details" id="main" style="display: none;">
            <p class="details">
            </p>
                 <form name="register" action="#">          
                    <table width="100%"  border="1" align="center" cellspacing="1">
                    	<tr>
                    		<th>配件更换关系</th>
                    		<th>支持度</th>
                    		<th>加权支持度</th>
                    		<th>置信度</th>
                    		<th>加权置信度</th>
                    	</tr>
                    	<tr>
                    	<c:forEach var="ptpart" items="${ptparts}">
						  <tr>
						    <td align="center">${ptpart.describe }</td>
						    <td align="center">${fn:substring(ptpart.support,0,6) }</td>
						    <td align="center">${fn:substring(ptpart.weightSupport,0,6) }</td>
						    <td align="center">${fn:substring(ptpart.confidence,0,6) }</td>
						    <td align="center">${fn:substring(ptpart.weightConfidence,0,6) }</td>
						  </tr>
					 	 </c:forEach>
                    	</tr>
                    </table>
                    <div style="text-align: left">A:刹车盘,B压缩机,C制动室,D真空助力器,E制动总泵,F电动液压泵,G刹车油管,H高压油管,I刹车线,J刹车片<br>
						K雨刮电机,L风扇电机,M点火线圈,N电子调节器,O汽车仪表,P电容器分电器,Q应急灯开关,R火花塞,S分电器盖,T发电机<br>
						U转向盘,V油管,W齿圈,X气缸垫,Y消声器,Z燃油泵,a气门推杆,b传感器,c气门导管,d密封垫,e空气流量计<br>
						f动力转向活塞,g液压泵,h离合器,i减震器,j直拉杆,k汽车轴承,l左右横拉杆,m万向节,n调整臂,o轮胎<br>
						p前大灯,q尾灯,r转向灯,s雾灯,t保险杆,u门把手,v中网,w后视镜,x内视镜,y灯泡
					</div>
                  </form>
            </div>	</center>
            
            
        <div class="clear"></div>
        </div><!--end of left content-->
            
       <div class="clear"></div>
       </div><!--end of center content-->
       <div class="footer">
       	<div class="left_footer"><img src="../../images/footer_logo.gif" alt="" title="" /><br /> </div>
        <div class="right_footer">
       
        </div>
        
       
       </div>
       
    </div>
</body>
</html>